Systems and methods for shifting haptic feedback function between passive and active modes

ABSTRACT

Systems and methods for shifting haptic feedback function between passive and active modes are disclosed. For example, one disclosed method includes receiving a first signal from a sensor, the first signal associated with a mode of interaction with a graphical user interface; receiving a second signal associated with an interaction with the graphical user interface; determining a haptic feedback effect based at least in part on the mode of interaction with the graphical user interface and the interaction with the graphical user interface; and generating a haptic signal configured to output the haptic feedback effect.

CROSS-REFERENCES TO RELATED APPLICATIONS

This patent application claims priority to and is a continuation of U.S. patent application Ser. No. 14/712,358, filed on May 14, 2015, and entitled “Systems and Methods for Shifting Haptic Feedback Function Between Passive and Active Modes,” which claims priority to and is a continuation of, U.S. patent application Ser. No. 13/832,420, filed on Mar. 15, 2013, and entitled “Systems and Methods for Shifting Haptic Feedback Function Between Passive and Active Modes,” which claims priority to and is a continuation of U.S. patent application Ser. No. 12/502,758, filed on Jul. 14, 2009, and entitled “Systems and Methods for Shifting Haptic Feedback Function Between Passive and Active Modes,” which claims priority to: U.S. Provisional Patent Application No. 61/080,978, entitled “Systems and Methods for Physics-Based Tactile Messaging” filed Jul. 15, 2008; U.S. Provisional Patent Application No. 61/080,981, entitled “Systems and Methods for Mapping Message Contents to Virtual Physical Properties for Vibrotactile Messaging” filed Jul. 15, 2008; U.S. Provisional Patent Application No. 61/080,985, entitled “Systems and Methods for Shifting Sensor Haptic Feedback Function Between Passive and Active Modes” filed Jul. 15, 2008; U.S. Provisional Patent Application No. 61/080,987, entitled “Systems and Methods for Gesture Indication of Message Recipients” filed Jul. 15, 2008; U.S. Provisional Patent Application No. 61/148,312, entitled “Systems and Methods for Pseudo-Telepresence in a Shared Space” filed Jan. 29, 2009; and U.S. Provisional Patent Application No. 61/181,280, entitled “Systems and Methods for Transmitting Haptic Messages” filed May 26, 2009, the entirety of each of which is hereby incorporated by reference herein.

FIELD OF THE INVENTION

The present invention generally relates to haptic feedback and more particularly to systems and methods for shifting haptic feedback function between passive and active modes.

BACKGROUND

Over the past several years, the use of handheld devices of all types has grown exponentially. These devices are used as portable organizers, telephones, music players, and gaming systems. Many modern handheld devices now incorporate some type of haptic feedback. As haptic technology improves, devices may incorporate multiple modes of haptic feedback. A way to switch between and select modes of feedback is needed.

SUMMARY

Embodiments of the present invention provide systems and methods for shifting between active and passive modes of haptic feedback. For example, in one embodiment, a method for shifting between active and passive modes of haptic feedback comprises receiving a first signal from a sensor, the first signal associated with a mode of interaction with a graphical user interface; receiving a second signal associated with an interaction with the graphical user interface; determining a haptic feedback effect based at least in part on the mode of interaction with the graphical user interface and the interaction with the graphical user interface; and generating a haptic signal configured to output the haptic feedback effect. In another embodiment, a computer-readable medium comprises program code for carrying out such a method.

These illustrative embodiments are mentioned not to limit or define the invention, but rather to provide examples to aid understanding thereof. Illustrative embodiments are discussed in the Detailed Description, which provides further description of the invention. Advantages offered by various embodiments of this invention may be further understood by examining this specification.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other features, aspects, and advantages of the present invention are better understood when the following Detailed Description is read with reference to the accompanying drawings, wherein:

FIG. 1 is a block diagram of a system for shifting haptic feedback function between passive and active modes according to one embodiment of the present invention;

FIG. 2 is a flow diagram of a method for mapping message contents to virtual physical properties for vibrotactile messaging according to one embodiment of the present invention;

FIG. 3 is another illustration of shifting haptic feedback function between passive and active modes according to one embodiment of the present invention;

FIG. 4 is another illustration of shifting haptic feedback function between passive and active modes according to one embodiment of the present invention;

FIG. 5 is yet another illustration of shifting haptic feedback function between passive and active modes according to one embodiment of the present invention;

FIG. 6 is a final illustration of shifting haptic feedback function between passive and active modes according to one embodiment of the present invention; and

FIG. 7 is an illustration of a virtual object that may be displayed according to one embodiment of the present invention.

DETAILED DESCRIPTION

Embodiments of the present invention provide systems and methods for shifting haptic feedback function between passive and active modes.

Illustration of Shifting Haptic Feedback Function Between Passive and Active Modes

One illustrative embodiment of the present invention comprises a messaging device, such as a mobile phone. In the illustrative embodiment, the messaging device comprises the Samsung SGH-i710 mobile computer equipped with Immersion Corporation's VibeTonz® vibrotactile feedback system. In another embodiment, the messaging device comprises Immersion Corporations TouchSense® Technology system also known as Immersion TouchSense® vibrotactile feedback system. Other messaging devices and haptic feedback systems may be utilized.

The messaging device comprises a display, a user interface device, memory, and a processor in communication with each of these elements. The illustrative messaging device also comprises a sensor and an actuator, both of which are in communication with the processor. The sensor is configured to sense a user interaction with the messaging device and the actuator is configured to output a haptic effect.

In the illustrative device, the processor receives a first signal associated with a mode of interaction with a messaging device's graphical user interface. The processor may receive the first signal from a sensor, such as a gyroscope or an accelerometer in the housing of the messaging device. Such a sensor may be configured to detect when a user moves or tilts the messaging device. A particular movement of the device may then be associated with a particular mode of interaction, such as a passive or active mode. For example, to engage an active mode of interaction, the messaging device may be tipped or rotated in a predetermined direction; to switch to a passive mode of interaction, the messaging device may be tipped or rotated in the opposite direction.

Next, the processor receives a second signal from the user interface device associated with an interaction with the graphical user interface. For instance, the processor may receive the second signal from a touch-sensitive input device, such as a touch-screen. The interaction may take a number of forms. For example, a user may brush, flick, rub, drag, or otherwise engage the touch-screen display to interact with a virtual object displayed on the graphical user interface. Alternatively, after a mode of interaction has been selected, a user may tilt, shake, rotate, or move the messaging device to interact with the graphical user interface. In an active mode of interaction, brushing or flicking a virtual object in the graphical user interface may cause the virtual object to move within the graphical user interface, while the processor generates a haptic signal simulating the virtual object's weight. In a passive mode of interaction, touching a virtual object, may cause the processor generate a haptic signal simulating the virtual object's surface features, such as its texture. The simulation of the surface may take the form of a vibration or other haptic feedback effect.

After receiving both signals, the processor determines a haptic feedback effect based, at least in part, on the mode of interaction with the graphical user interface and the interaction with the graphical user interface. In an illustrative embodiment, a first signal is associated with an active mode of interaction and the second signal is associated with a user interaction with an object displayed on the graphical user interface. The user's interaction may involve moving a virtual object on the graphical user interface. The processor may then determine haptic feedback, which resembles a collision between the virtual object and another surface in the graphical user interface. Alternatively, if the first signal is associated with a passive mode of interaction and the second signal is associated with a rubbing motion on or near a virtual object, the processor may determine haptic feedback simulating the texture of the virtual object. Finally, the processor generates a haptic signal configured to cause an actuator to output the haptic effect. An actuator receives the haptic signal, and generates the haptic effect, for example by shaking, jolting, or vibrating the messaging device.

This illustrative example is given to introduce the reader to the general subject matter discussed herein. The invention is not limited to this example. The following sections describe various additional non-limiting embodiments and examples of methods and systems for shifting haptic feedback function between active and passive modes.

Shifting Haptic Feedback Function Between Passive and Active Modes

Embodiments of the invention presented herein provide systems and methods for shifting haptic feedback function between passive and active modes. A modern handheld device may include the capability to include multiple modes of feedback. These modes may be movement based “active modes” or texture based “passive modes.” The modes of feedback may be output to the user visually through the display, audibly using speakers, or haptically using actuators. The claimed invention provides systems and methods for switching between active and passive modes of feedback.

For example, in a messaging device including an accelerometer and a touch-screen, a default mode of interaction may comprise an active ode of interaction. In such a mode, tilting the messaging device may cause virtual objects displayed on a graphical user interface to appear to roll around. In response to the movement of the virtual objects, the device may generate haptic feedback representing friction and impacts between the virtual objects and other surfaces. Using such a device, a user may also utilize the touch-screen to directly move a virtual object within the user interface. The user may tilt the messaging device to cause the virtual object to move on the graphical user interface. Or the user may directly manipulate the virtual object by touching the graphical user interface. The movement of the virtual object on the graphical user interface causes an actuator to generate one or more haptic effects based on the virtual object's friction profile.

Each virtual object comprises a virtual physical parameter which defines one or more of the object's size, mass, shape, collision behavior, and texture. The virtual physical parameter may also include the object's texture and friction profiles. The texture profile is a data store comprising parameters that define the object's reaction to user interaction in the passive mode of interaction. The texture profile may further define the virtual object's surface features. The friction profile is a data store comprising parameters defining the virtual object's reaction to user manipulations and its interaction with other virtual objects in the active mode of interaction. The friction profile may additionally define other properties, such as virtual height, weight, density, etc. When the user interacts with the virtual object or the virtual object interacts with other features on the graphical user interface, its movement and the haptic feedback in response to the interaction will be based, at least in part, on the virtual object's friction profile. For example, a ball could have a friction profile which causes the ball to respond to interaction by bouncing while another ball may respond by rolling. Furthermore, a dense heavy ball may move slowly with hard impacts on surfaces within the interface; while a lighter, less dense, ball may move quickly with softer impacts. A virtual object may be one of any number of shapes, including, but not limited to: a ball, an egg, a tube, a capsule or a box.

A virtual object may represent a type of data. For example, a virtual object may represent a video file within the device. Additionally, the shape chosen for a virtual objects shape may take into account the type of data represented by a virtual object. For example, a virtual object representing a picture may take the shape of a camera, while a virtual object representing a video file may take the for of a compact disk.

A virtual object may comprise a token. A token is a type of virtual object that includes predefined parameters. The user may then define additional parameters of a specific instantiation of a token. For example, in one embodiment a token may comprise virtual object in the form of a ball, with predefined friction and texture profiles. The user may then define additional characteristics, such as the ball's size and color.

A processor may receive a shift or change signal associated with a different mode of interaction and switch to a passive mode of interaction. In the passive mode of interaction, haptic effects may be based on a texture profile of a virtual object rather than the friction profile. A texture profile is a data store that contains data representing surface features of a virtual object, such as texture and tension. When a user contacts a virtual object, the device may generate haptic effects that simulate the surface of the object. For example, a virtual object could have a rough surface indicated by rapid hard haptic pulses, while a virtual object with a soft surface could be indicated by a steady gentle vibration.

In some embodiments, the user interface may be represented as a virtual message environment programmed to incorporate a physical model. In such an environment, electronic messages may be displayed as a virtual message objects. A virtual message object is a form of virtual object that includes a data store incorporating an electronic message. A virtual message object comprises a virtual physical parameter which defines one or more of the object's size, mass, shape, collision behavior, and texture. The virtual physical parameter may also include the object's texture and friction profiles. The texture profile is a data store comprising parameters that define the object's reaction to user interaction in the passive mode of interaction. The texture profile may further define the virtual object's surface features. The friction profile is a data store comprising parameters defining the virtual object's reaction to user manipulations and its interaction with other virtual objects in the active mode of interaction. The friction profile may additionally define other properties, such as virtual height, weight, density, etc. A user can manipulate the virtual message environment and virtual message objects through various messaging device interfaces and sensors, such as a touch-screen, gyroscope, GPS, or accelerometer, or other sensor configured to detect movement.

A virtual message object may comprise a token. A token is a type of virtual object that includes predefined parameters. The user may then define additional parameters of a specific instantiation of a token. For example, in one embodiment a token may comprise virtual object in the form of a ball, with predefined friction and texture profiles. The user may then define the text contained by the instantiation of the token as well as additional characteristics, such as the ball's size and color.

When a user is interacting with the device, a sensor detects the user's movements and transmit signals representing these movements to the processor. The processor may then calculate vectors which represent the displacement and magnitude of the users movement. The processor may then translate these vectors into virtual forces acting on virtual message objects contained within the virtual message environment. If the message is sent to a haptically enabled device, the haptic effect may be incorporated as a component of the message. For example, a user may incorporate a soft gesture into a message. When the recipient receives the message, this soft gesture may be translated into a soft haptic effect, indicating that a message is not urgent. Conversely, a user may incorporate a hard gesture into a message, which will be translated into hard haptic force indicating an urgent message. Like other virtual objects, virtual message objects may have both a texture profile and a friction profile, which may be used to calculate haptic effects.

In one embodiment, when a user wishes to switch between modes of feedback, a gesture, position, key, or other control is assigned as a selector for the mode of interaction. For example, a user can use a specific gesture to switch between active and passive modes of interaction, or to switch to another mode of interaction. The user interface may indicate/illustrate the change in mode through the visual display, a sound effect, and/or haptic feedback. For example, if the user switches from passive to active modes, the device may give a visual indication through the display while also providing a haptic indication, such as a vibration.

In another embodiment, the device may be equipped with a switch or button, which may be displayed on a touch screen to switch between modes of interaction. In this embodiment, for example, a user may depress a shift key, indicating an active mode of interaction. While operating in this mode, movements of the device can cause virtual objects in the display to move, roll, and collide with each other. When the user releases the shift key, the passive mode of interaction is enabled. In this mode, the virtual objects may exhibit different variables, such as a vibrating feedback representing each virtual object's texture. While in the passive mode, the virtual objects may continue movement on the screen and the user may interact with the virtual objects; however, the user cannot direct interaction between the virtual objects.

Illustrated System for Shifting Haptic Feedback Function Between Passive and Active Modes of Interaction

Referring now to the drawings in which like numerals indicate like elements throughout the several figures, FIG. 1 is a block diagram of a system for shifting haptic feedback function between passive and active modes according to one embodiment of the present invention. As shown in FIG. 1, the system 100 comprises a messaging device 102, such as a mobile phone, portable digital assistant (PDA), portable media player, or portable gaming device. The messaging device 102 comprises a processor 110 in communication with a network interface 112, a sensor 114, a display 116, an actuator 118, and a speaker 120. The processor 110 is configured to generate a virtual environment, which is shown on display 116.

The processor 110 is in communication with the network interface 112. The network interface 112 may comprise one or more methods of mobile communication, such as infrared, radio, Wi-Fi, or cellular network communication. In other variations, the network interface 112 comprises a wired network interface, such as Ethernet. The messaging device 102 can be configured to exchange messages or virtual message objects with other devices (not shown) over networks such as a cellular phone network and/or the Internet. Embodiments of messages exchanged between devices may comprise voice messages, text messages, data messages, or other forms of digital messages.

The processor 110 is also in communication with one or more sensors 114. The sensor 114 may comprise a location sensor, rotational velocity sensor, image sensor, pressure sensor, or other type of sensor. For example, sensor 114 may comprise an accelerometer, a gyroscope, a GPS sensor, or a touch-sensitive input device touch screen, touch-pad). The one or more sensors 114 may be configured to detect changes in, for example, acceleration, inclination, inertia, or location. For example, the messaging device 102 may comprise an accelerometer configured to measure the acceleration of the messaging device 102. As another example, the messaging device 102 may comprise a location sensor, rotary velocity sensor, image sensor, pressure sensor, or other type of sensor. The one or more sensors 114 may be configured to send a sensor signal to the processor 110.

Users may interact with the user interface through movements or gestures which are detected by the one or more sensors 114. As the messaging device 102 is tilted, shaken, or otherwise moved, the one or more sensors 114 may detect these movements and generate sensor signals sent to the processor 110 based, at least in part, on the movements. The processor may use these signals to generate vectors with a direction and magnitude that represents the direction and magnitude of the user's interaction with the device. In one embodiment, an accelerometer sensor is configured to detect the inclination and acceleration of the messaging device 102. As the messaging device 102 is tilted, an accelerometer can be configured to send signals to the processor 110 based, at least in part, on the tilt and/or acceleration of the messaging device 102. The processor 110 then uses these signals to generate vectors representing direction and magnitude of the interaction.

Signals received from the sensor 114 may be associated with a mode of interaction with a graphical user interface. For example, a jabbing motion detected by an accelerometer may be associated with an active mode of interaction, while a circular or rotational motion detected by an accelerometer may be associated with a passive mode of interaction. By mapping modes of interaction to particular gestures, the processor 110 may be able to switch modes of interaction quickly and effectively.

Signals received from the sensor 114 may also be associated with an interaction with the graphical user interface. For example, a user may first select a mode of interaction by pressing or depressing a shift key. After the mode of interaction has been selected, the messaging device may be tilted, rotated, shaken, or otherwise moved to interact with the graphical user interface. Each movement of the device detected by a sensor 114 may be associated with an interaction with the graphical user interface. In one mode of interaction, tilting the device may zoom in or zoom out of the graphical user interface. For example, a digital image may be shown on the display 116. To manipulate the image, the user may select an active mode of interaction, and then tilt the device such that sensor 114 detects the movement. The device may then manipulate the image shown on display 116 based on the data received from sensor 114. The device could manipulate the image in many different ways; for instance, the manipulation could involve zooming in or away from the image, scrolling, or rotating the displayed image.

The processor 110 may receive signals associated with a mode of interaction and/or signals associated with an interaction from other sources (not shown in FIG. 1). For example, the messaging device 102 may comprise a scroll wheel, a rocker switch, or a joystick (not shown in FIG. 1). The messaging device 102 may also comprise one or more buttons, such as a shift button (not shown in FIG. 1).

In the embodiment shown in FIG. 1, the processor 110 is also in communication with a display 116. The processor 110 can be configured to generate graphical representation of a user interface to be shown on display 116. The display 116 may comprise a touch-sensitive input device, such as a touch screen, configured to send and receive signals from the processor 110.

Signals received from a touch-screen display 116 may be associated with a mode of interaction with the graphical user interface. In one variation, a predetermined gesture, such as a tap on a touch-screen, may be associated with a specific mode of interaction. In one such embodiment, one tap on the touch-screen may be associated with an active mode of interaction, while two taps on the touch-screen may be associated with a passive mode of interaction. In another variation, a gesture detected by a touch-screen in a particular area of the display 116, such as an upper right quadrant, may be associated with one mode of interaction, while a gesture detected by a touch-screen in a different area of the display 116, such as a lower left quadrant, may be associated with a second mode of interaction. Various other combinations of gestures or user actions may be utilized to switch between modes of interaction.

In the embodiment shown in FIG. 1, the device can allow the user to directly manipulate objects shown on display 116. If display 116 comprises a touch-screen display, in an active mode of interaction two-dimensional finger gestures on display 116 may select, drag, flick, throw, or move a virtual object within the user interface. In a passive mode of interaction, two-dimensional finger gestures on display 116 may touch and/or feel a virtual object without changing its location within the graphical user interface.

The processor 110 may determine a haptic feedback effect based, at least in part, on the mode of interaction with the graphical user interface and the user's interaction with the graphical user interface. In the active mode of interaction, the processor 110 may determine a haptic effect simulating a jolt or a collision based on a user interaction, such as a jab or a flick. For example, the display may show a ball, which the user flicks. When the user flicks the image of the ball, processor 110 may determine a haptic effect representing a jolt to the user. The jolt exhibiting characteristics of the virtual ball contained in its friction profile, such as the ball's weight, density, and type of interaction with other virtual objects. Processor 110 may further calculate a collision when the virtual ball impacts a side of display 116. In a passive mode of interaction, processor 110 may determine a haptic effect simulating a rough or smooth texture based on an interaction such as a brush or rub. For example, in one embodiment, display 116 shows a ball with a texture profile comprising data representing a rough surface. When the user then interacts with the ball, processor 110 may calculate a haptic signal representing a series of haptic jolts, indicating the ball's rough surface.

As shown in FIG. 1, processor 110 is also in communication with one or more actuators 118. Actuator 118 may be configured to receive a signal from processor 110 and generate a haptic effect. After processor 110 determines a haptic effect, processor 110 may send a haptic signal to the actuator 118 configured to cause actuator 118 to output the haptic effect. Actuator 118 may be, for example, a piezoelectric actuator, an electric motor, an electro-magnetic actuator, a voice coil, a linear resonant actuator, a shape memory alloy, an electro-active polymer, a solenoid, an eccentric rotating mass motor (ERM), or a linear resonant actuator (LRA).

Illustrative Method for Shifting Haptic Feedback Function Between Passive and Active Modes of Interaction

FIG. 2 is a flow diagram of a method for determining a haptic effect based, at least in part, on a mode of interaction and a user's interaction with a graphical user interface. While embodiments of the current invention may be utilized in a variety of devices, the process shown in FIG. 2 will be described in relation to the device shown in FIG. 1. In method 200, a processor 110 receives a first signal associated with a mode of interaction with a graphical user interface 202. In one embodiment, the signal indicates a change in the mode of interaction; in other embodiments it represents no change in the mode of interaction. A signal associated with a mode of interaction may be generated by a sensor 114, such as an accelerometer, a gyroscope, a GPS sensor, a microphone, a touch-sensitive input device (e.g. touch screen, touch-pad), a texture stylus, an imaging sensor, or some other type of sensor. Or the mode of interaction may be selected through a button or switch. For example, a mode of interaction may be selected by rotating the messaging device 102 in a predetermined manner, depressing a shift button, blowing into a microphone, or making a gesture on a touch-screen display 116. In one embodiment, the first signal is controlled in part by the processor. For example, the processor may receive an input, and use this input to calculate and then transmit a signal which will change the mode of interaction with the graphical user interface. In another embodiment, the first signal is controlled to return to a default setting after a period of time. For example, the device may have a default setting of the passive mode of interaction and, if the mode of interaction has been set to active for more than 5 minutes, the processor may switch the device back to passive mode.

The graphical user interface can display virtual objects with which a user may interact. In the embodiment shown, the graphical user interface comprises one or more modes of interaction. In one example, the graphical user interface comprises an active mode of interaction and a passive mode of interaction. In an active mode of interaction, for example, a user may direct interactions between one or more virtual objects and other virtual objects and/or the virtual environment. In a passive mode of interaction, a user may interact only with a virtual object without interacting with a virtual environment or causing the virtual object to interact with other objects in the virtual environment.

After a mode of interaction is selected, the processor receives a second signal associated with an interaction with the graphical user interface 204. The signal associated with an interaction may be generated by a touch-sensitive input device (e.g. touch screen, touch-pad) or some other type of sensor, such as an accelerometer, a gyroscope, a GPS sensor, a microphone, a texture stylus, or an imaging sensor. In one example, a user interacts with the user interface by contacting a virtual object through a touch-screen display 116. The processor 114 receives a signal from the touch-screen display 116 associated with the gesture or contact made by the user. The signal associated with the interaction may include properties of the interaction, such as location, speed, pressure, and/or type. For example, a signal from a touch-screen display 116 may include the location of the contact with the touch-screen display 116, the speed and/or pressure of the contact, the duration of the contact, and the type of gesture or motion made on the touch-screen display 116.

The first signal and the second signal may be received substantially simultaneously. For example, a user may depress a shift key and make a gesture on a touch screen substantially simultaneously. In such a scenario, the processor receives the first signal associated with a mode of interaction at substantially the same time as processor 110 receives a second signal associated with a user interaction with the user interface. In another variation, processor 110 receives the second signal at some later period of time, such as a half second to several seconds or more, after receiving the first signal. For example, a user may select a mode of interaction by moving the messaging device in a predetermined manner. Later, a user may interact with the user interface by making a gesture on the touch-screen display 116 of the messaging device. The device may have a user-selected default mode of interaction.

The processor 110 determines a haptic effect based, at least in part, on the mode of interaction with the graphical user interface and the interaction with the graphical user interface 206. In a passive mode of interaction, haptic effects may be based on the texture profile of the graphical user interface and/or a virtual object displayed in the graphical user interface. In a passive mode of interaction, when a user rubs or brushes a virtual object, the processor may determine a haptic effect simulating a texture of the virtual object, such as a vibration simulating a rough or smooth texture. In an active mode of interaction, haptic effects may be based on the friction profile of the graphical user interface and/or a virtual object displayed on the graphical user interface. In an active mode of interaction, when a user rubs or brushes a virtual object, the virtual object may move on the display in correlation to the user's movement. Then, as the virtual object moves in the display, the processor may determine a haptic effect simulating the movement of the virtual object. For example, the processor may generate a long, low rumble for a heavy object, or a gentler vibration to simulate a lighter object.

Next, the processor 110 generates a haptic signal configured to cause an actuator 118 to output the haptic effect 208. Finally, the processor 110 transmits the haptic signal to one or more actuators 118 configured to output the haptic effect 210. After receiving the haptic signal, the actuator 118 then outputs the haptic effect. The haptic effect may comprise many different types of feedback, including but not limited to: feedback representing texture, feedback representing tension, feedback representing grip, feedback representing a flick, feedback representing a stroke, feedback representing popping, feedback representing cracking, feedback representing movement, feedback representing friction, or feedback representing a collision or collisions.

In one illustrative embodiment, the graphical user interface displays a virtual object in the shape of a heart. Then, processor 110 receives a signal associated with a passive mode of interaction. Next, processor 110 receives a signal associated with a rub or a brush of the virtual heart. Then, based on both of the received signals and on the virtual heart's texture profile, processor 110 may determine a haptic effect simulating a beating heart, which is output when the user interacts with the virtual heart. Actuator 118 receives the haptic signal and generates the haptic effect simulating a beating heart.

In another illustrative embodiment, the graphical user interface displays a virtual object in the shape of a heart. The processor 110 first receives a signal associated with an active mode of interaction, and then receives a signal associated with a user's interaction with the virtual heart. At this point, processor 110 may determine a haptic effect based on both the received signals and the virtual heart's friction profile. The calculated effect may simulate the heart's weight as the user drags it across the screen. An actuator 118 receives a haptic signal and generates the haptic effect simulating the heart's weight.

In another illustrative embodiment, the graphical user interface displays a virtual messaging environment. In the virtual messaging environment, an electronic message such as an email, text message, instant message, or other type of message is displayed as a virtual message object. In one embodiment, the virtual message object comprises one of: a ball, a tube, a capsule, a box, a balloon, a heart, or any other shape the graphical user interface is capable of displaying. FIG. 7 shows a messaging device 710, that includes a display 720 showing a virtual message object in the form of a ball with a rough surface 730. The virtual message object further comprises a virtual physical parameter which defines one or more characteristics of the virtual object, such as: size, mass, shape, collision, or texture. A virtual physical parameter may be modified by either the user or the program itself. In this illustrative embodiment, the processor 110 receives a signal associated with an interaction with the virtual message object in the virtual messaging environment. Then the processor 110 receives a signal associated with an interaction with the virtual message object in the virtual messaging environment. Processor 110 may then determine a haptic effect based, at least in part, on the mode of interaction with the virtual message object and the interaction with the virtual messaging object.

For example, in one embodiment, the graphical user interface displays a virtual messaging environment and a virtual message object in the form of a balloon. The balloon comprises a virtual physical parameter which defines its size, shape, and collision behavior. The processor may then receive signal associated with an active mode of interaction, and may further receive a signal associated with a user poking the balloon. The processor will then calculate a haptic effect based, at least in part, on the mode of interaction and the interaction in this case, active mode of interaction and a poking interaction. The processor will then transmit the calculated haptic signal to an actuator configured to output the haptic effect. The haptic effect may be, for example, a signal representing the virtual balloon popping. The processor may further perform an action with the virtual message object, such as sending the virtual message when the virtual balloon pops.

Illustrations of Shifting Haptic Feedback Function Between Passive and Active Modes of Interaction

FIG. 3 is an illustration of shifting haptic feedback function between passive and active modes of interaction according to one embodiment of the present invention. In FIG. 3, a messaging device 302 comprises a shift button 304 and a touch-screen 306. The messaging device 302 generates a graphical user interface, such as a virtual environment 310 shown on the touch-screen 306.

As shown in FIG. 3, the graphical user interface 310 comprises one virtual object 312 in the form of a ball. In other embodiments, the graphical user interface may contain zero, one, or more virtual objects. When no objects are displayed, the background of the display may have its own friction and texture profiles. When virtual objects are displayed, each virtual object comprises a virtual physical parameter. The virtual physical parameter may include one or more characteristics of the virtual object, such as: size, shape, mass, collision behavior, or texture. The physical parameter may further include a friction and/or a texture profile which define the virtual object's interaction with the user and with other virtual objects. For example, the friction profile of a virtual ball may comprise a rolling or bouncing profile. And the texture feedback profile of a virtual ball may comprise a semi-rough or tacky surface. The processor may determine a haptic effect based, at least in part, on a friction profile and/or a texture profile of a virtual object.

Each virtual object may comprise one or more virtual physical parameters. A virtual physical parameter can comprise a size, a mass, a shape, a collision behavior, a texture, or a visual representation. In some scenarios, a virtual object represents a message, such as a text message, a file message, or a voicemail. The virtual physical parameters of a virtual object may be based, at least in part, on the type of data the virtual object represents. In one example, a virtual object may represent a short text message and may comprise a light, thin, cylindrical object that is neither bouncy nor brittle. A virtual object representing a long video file may comprise a large, heavy oval object that cracks.

The friction profile and/or the texture profile may be based, at least n part, on the virtual physical parameters of a virtual object. For example, the friction profile of an egg-like virtual message object may dictate a cracking or breaking action when the virtual egg moves in the virtual environment. Thus, when a virtual egg object moves within a virtual environment and cracks or breaks, a haptic feedback effect simulating the virtual egg cracking or breaking may be generated in one mode of interaction. In another mode of interaction, the egg may feel smooth to the touch, represented as vibrations with a textural character.

A virtual object may comprise a token A token is a type of virtual object that includes predefined parameters. The user may then define additional parameters of a specific instantiation of a token. For example, in one embodiment a token may comprise ball with predefined friction and texture profiles. The user may then define additional characteristics of the ball, such as its size and color.

Before interacting with the user interface 310, a mode of interaction may be selected. For example, the shift button 304 may be used to select a mode of interaction with the user interface. As shown in FIG. 3, the shift button 304 is not depressed. When the shift button 304 is not depressed, the user interface 310 may remain in a mode of interaction that the user has defined as the default. When the shift button is activated, or pressed, the user interface may switch to a different mode of interaction. While the shift button 304 is depressed, it may generate a signal indicating a change in mode of interaction. A processor (not shown in FIG. 3) of the messaging device 302 may receive the low signal from the shift button 304 and determine that the passive mode of interaction is intended. When a high signal is received from the shift button 304, the processor may determine that an active mode of interaction is intended. In other variations, the default mode of interaction may comprise an active mode of interaction or some other mode of interaction. In other embodiments, the processor may control the mode of interaction, and return the mode of interaction to a user-defined default after a user-defined period of time.

After the mode of interaction is selected, a user may interact with the user interface 310 and/or the virtual object 312 by contacting the touch-screen 306. In other variations, a user may interact with the user interface 310 and/or the virtual object 312 by shaking, tilting, rotating, or otherwise moving the messaging device. For example, in one embodiment, the display may show a virtual ball. In the active mode of interaction, the user may tilt the screen causing the virtual ball to roll inside the graphical user interface. The device may output a haptic effect when the virtual ball rolls to a boundary of the graphical user interface. In another embodiment, the virtual ball may represent a text message, email, or other electronic message. When the virtual ball representing a message rolls to a boundary of the graphical user interface, the device may allow the virtual ball to roll off the display, thereby sending the message.

As shown in FIG. 3, the user interface 310 is in a first mode of interaction and a user is brushing or rubbing the touch-screen 306 in the directions illustrated by arrow 320 and arrow 322. In a first mode of interaction, such as a passive mode, brushing or stroking the virtual object 312 may cause the messaging device 302 to simulate or portray the texture profile of the virtual object 312 through haptic feedback. After the processor receives a signal associated with an interaction with the virtual object 312, the processor determines a haptic effect simulating a texture profile of the virtual object 312, such a vibration simulating the surface, composition, and/or material of the virtual object 312. The processor then sends a haptic signal to an actuator (not shown in FIG. 3) which generates the haptic effect.

FIG. 4 is an illustration of shifting haptic feedback function between passive and active modes according to one embodiment of the present invention. In FIG. 4, a messaging device 402 comprises a shift button 404 and a touch-screen 406. The messaging device 402 displays a graphical user interface, such as a virtual environment 410 shown on the touch-screen 406. A virtual object 412, illustrated as a ball, is shown inside the virtual environment 410.

As shown in FIG. 4, a user is depressing the shift key 404 in a downward motion indicated by arrow 424. At substantially the same time, or substantially simultaneously, a user is manipulating the virtual object displayed in the user interface by contacting the touch-screen in the direction shown by arrow 420 and arrow 422. By depressing the shift button, the user may set the device to an active mode of interaction with the graphical object. In the active mode of interaction, the graphical object may become “grippable.” In this mode, the device may respond to finger gestures on the touch-screen with haptic feedback representing friction between the object and background surface.

In a passive mode of interaction, signals received from an accelerometer may not affect a gripped virtual object. However, in an active mode of interaction, accelerometer signals may still affect other virtual objects in the user interface 410 (not shown in FIG. 4). Finger gestures may now activate a friction profile of the virtual object 412. For example, when the user depresses the shift button and makes a flicking gesture on the touch-screen, the processor may respond by moving the graphical object within the user interface and generating a haptic effect representing friction between the virtual environment and the virtual object. This calculation is based in part on the friction profile of the virtual object and the virtual environment.

Although the messaging device illustrated in FIGS. 3 and 4 utilizes a shift button to send signals to the processor associated with the selection of a mode of interaction, other methods and/or devices may be used to accomplish this. As one example, tilting the messaging device in a forward direction may be associated with an active mode of interaction, whereas tilting the messaging device in a rear direction may be associated with passive mode of interaction. As another example, double-clicking on the touch-screen may select the active mode of interaction, while single-clicking on the touch-screen may select the passive mode of interaction.

FIG. 5 is an illustration of shifting haptic feedback function between passive and active modes according to one embodiment of the present invention. In FIG. 5, a messaging device 502 comprises an accelerometer (not shown in FIG. 5) and a touch-screen 506. The messaging device 502 generates a graphical user interface, such as a virtual environment 510 shown on the touch screen 506.

As shown in FIG. 5, a user is rotating or moving the messaging device 502 in a circular motion indicated by the arrow 520. After the sensor detects the circular motion, it sends a signal to the processor (not shown in FIG. 5). The processor receives the sensor's signal and determines that the circular motion is associated with a change in the mode of interaction.

After moving the device in the predetermined manner, the user interface may shift from an active to a passive mode of interaction, or from a passive to an active mode of interaction. After the user interface shifts its mode of interaction, the user may interact with the user interface according to the new mode of interaction.

FIG. 6 is an illustration of shifting haptic feedback function between passive and active modes according to one embodiment of the present invention. In FIG. 6, a messaging device 602 comprises an accelerometer (not shown in FIG. 6) and a touch-screen 606. The messaging device 602 generates a graphical user interface, such as a virtual environment 610 shown on the touch screen 606.

As shown in FIG. 6, a user is jostling or shaking the messaging device 602 in a circular motion indicated by the arrow 620. After the sensor detects the jostling motion, the sensor sends a signal to the processor (not shown in FIG. 6). The processor receives the sensor signal and determines that the jostling motion is associated with a change in the mode of interaction.

After moving the device in the predetermined manner, the user interface may shift from a passive to an active mode of interaction, or from an active to a passive mode of interaction. After the mode of interaction is switched, the user may interact with the graphical user interface according to the new mode of interaction. For example, in one embodiment, the user may select a passive mode of interaction while typing an email. Then, wishing to send the email, the user may rotate or otherwise move the device in a predetermined manner, causing the device to switch to an active mode of interaction, in which the email may be shown on the display as a virtual ball. The user may then flick the ball to send the email; this action may trigger the processor to calculate a haptic signal which generates a jolt, symbolizing the weight of the virtual ball. Then, as the virtual ball travels off the display, the device sends the email. The user may then rotate the device or move the device in another predetermined manner to switch the device back to passive mode of interaction.

Embodiments of the present invention can be implemented in digital electronic circuitry or in computer hardware, firmware, software, or in combinations of these. In one embodiment, a computer may comprise a processor or processors. The processor comprises a computer-readable medium, such as a random access memory (RAM) coupled to the processor. The processor executes computer-executable program instructions stored in memory, such as executing one or more computer programs for messaging. Such processors may comprise a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), field programmable gate arrays (FPGAs), and state machines. Such processors may further comprise programmable electronic devices such as PLCs, programmable interrupt controllers (PICs), programmable logic devices (PLD), programmable read-only memories (PROMs), electronically programmable read-only memories (EPROMs or EEPROMs), or other similar devices.

Such processors may comprise, or may be in communication with media, such as computer-readable media, that may store instructions that, when executed by the processor, can cause the processor to perform the steps described herein as carried out, or assisted, by a processor. Embodiments of computer-readable media may comprise, but are not limited to, an electronic, optical, magnetic, or other storage or transmission device capable of providing a processor, such as the processor in a web server, with computer-readable instructions. Other examples of media comprise, but are not limited to, a floppy disk, CD-ROM, magnetic disk, memory chip, ROM, RAM, ASIC, configured processor, all optical media, all magnetic tape or other magnetic media, or any other medium from which a computer processor can read. Also, various other devices may include computer-readable media, such as a router, private or public network, or other transmission device. Both the processor and the processing described may be in and/or dispersed through one or more structures. The processor may comprise code for carrying out one or more of the methods (or parts of methods) described herein.

General

The foregoing description of the embodiments, including preferred embodiments, of the invention has been presented only for the purpose of illustration and description and is not intended to be exhaustive nor to limit the invention to the precise forms disclosed. Numerous modifications and adaptations thereof will be apparent to those skilled in the art without departing from the spirit and scope of the invention. 

That which is claimed is:
 1. A portable messaging device comprising: a processor configured to: receive a mode signal associated with a mode of interaction; receive a sensor signal associated with a user interaction; determine a haptic effect based at least in part on the mode of interaction and the user interaction; and output a haptic signal to a haptic output device configured to output the haptic effect.
 2. The portable messaging device of claim 1, wherein the mode signal is associated with changing from an active mode of interaction to a passive mode of interaction.
 3. The portable messaging device of claim 1, wherein the mode signal is associated with changing from a passive mode of interaction to an active mode of interaction.
 4. The portable messaging device of claim 1, wherein the user interaction comprises an interaction with one or more objects displayed in a graphical user interface.
 5. The portable messaging device of claim 4, wherein the mode of interaction comprises an active mode of interaction, and wherein the haptic effect comprises an effect associated with an object displayed in the graphical user interface.
 6. The portable messaging device of claim 4, wherein the mode of interaction comprises a passive mode of interaction, and wherein the haptic effect comprises an effect associated with one or more surface features of a virtual object displayed in the graphical user interface.
 7. The portable messaging device of claim 1, wherein the processor receives the sensor signal from a sensor configured to detect one or more of an orientation or movement of the portable messaging device.
 8. The portable messaging device of claim 1, wherein the user interaction comprises on or more of: tilting, shaking, rotating, or moving the portable messaging device.
 9. A method comprising: receiving a mode signal associated with a mode of interaction; receiving a sensor signal associated with a user interaction; determining a haptic effect based at least in part on the mode of interaction and the user interaction; and outputting a haptic signal to a haptic output device configured to output the haptic effect.
 10. The method of claim 9, wherein the mode signal is associated with changing from an active mode of interaction to a passive mode of interaction.
 11. The method of claim 9, wherein the mode signal is associated with changing from a passive mode of interaction to an active mode of interaction.
 12. The method of claim 9, wherein the mode signal is controlled to return to a default setting after a period of time.
 13. The method of claim 9, wherein the mode signal is received from a sensor configured to detect one or more of an orientation or movement of an electronic device.
 14. The method of claim 9, wherein the user interaction comprises an interaction with a touch surface.
 15. The method of claim 14, wherein the user interaction further comprises an interaction with one or more objects displayed in a graphical user interface associated with the touch surface.
 16. The method of claim 15, wherein the mode of interaction comprises an active mode of interaction, and wherein the haptic effect comprises an effect associated with a virtual object displayed in the graphical user interface.
 17. The method of claim 15, wherein the mode of interaction comprises a passive mode of interaction, and wherein the haptic effect comprises an effect associated with one or more surface features of a virtual object displayed in the graphical user interface.
 18. A non-transient computer readable medium comprising program code, which when executed by a processor is configured to cause the processor to: receive a mode signal associated with a mode of interaction; receive a sensor signal associated with a user interaction; determine a haptic effect based at least in part on the mode of interaction and the user interaction; and output a haptic signal to a haptic output device configured to output the haptic effect.
 19. The non-transient computer readable medium of claim 18, wherein the mode signal is associated with changing from an active mode of interaction to a passive mode of interaction.
 20. The non-transient computer readable medium of claim 18, wherein the mode signal is associated with changing from a passive mode of interaction to an active mode of interaction. 